package cn.ld.gift.client;


import cn.ld.gift.domain.LoginUser;
import cn.ld.util.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "gift-auth",fallbackFactory = AuthClientFallbackFactory.class)
public interface AuthClient {

    @PutMapping("/loginUser")
    AjaxResult addOrUpdate(@RequestBody LoginUser loginUser);
}
